<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">
	
	<f:view locale="#{preferencesBean.currentLocale}" contentType="text/html">

		<h:head>
			<title>Welcome to CrystalSky</title>
			<meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
			<link type="text/css" rel="stylesheet" href="#{request.contextPath}/css/default.css" />
			<ui:insert name="head"></ui:insert>
		</h:head>
		
		<h:body>
			<div id="header">
				<h1><a href="#">CrystalSky</a></h1>
				<p>By <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
				
				
			</div>		
			<!-- end header -->
			
			<div id="page">
				<div id="content">
					<ui:insert name="content">...</ui:insert>
					
				</div>
				<!-- end content -->
				<div id="sidebar">
					<ul>
						<li id="menu" class="bg6">
							<h2 class="bg1">Menu</h2>
							<ul>
								<li class="first"><a href="#{request.contextPath}/ui/home.jsf" accesskey="1" title="">#{msg.home}</a></li>
								<li><a href="#{request.contextPath}/ui/service.jsf" accesskey="2" title="">#{msg.service}</a></li>
								<li><a href="#{request.contextPath}/ui/products.jsf" accesskey="3" title="">#{msg.products}</a></li>
								<li><a href="#{request.contextPath}/ui/events.jsf" accesskey="4" title="">#{msg.events}</a></li>
								<li><a href="#{request.contextPath}/ui/about.jsf" accesskey="5" title="">#{msg.about}</a></li>
								<li><a href="#{request.contextPath}/ui/contact.jsf" accesskey="6" title="">#{msg.contact}</a></li>
								<li><a href="#{request.contextPath}/ui/adduser.jsf" accesskey="6" title="">#{msg.addNewUser}</a></li>
							</ul>
							<h:form><p:commandButton value="#{msg.switchLanguage}" actionListener="#{preferencesBean.swapLocalel}" immediate="true" ajax="false"/></h:form>
						</li>
						<li id="news">
							<h2 class="bg2">Categories</h2>
							<ul>
								<li class="first">6/15: <a href="#">Donec dictum metus lorem ipsum &hellip;</a></li>
								<li>6/12: <a href="#">Etiam rhoncus volutpat lorem ipsum&hellip;</a></li>
								<li>6/9: <a href="#">Integer gravida nibh lorem ipsum&hellip;</a></li>
							</ul>
						</li>
						<li id="archives">
							<h2 class="bg3">Archives</h2>
							<ul>
								<li class="first"><a href="#">June 2007</a> <i>(2)</i></li>
								<li><a href="#">May 2007</a> <i>(31)</i></li>
								<li><a href="#">April 2007</a> <i>(30)</i></li>
							</ul>
						</li>
					</ul>
				</div>
				<!-- end sidebar -->
				<div style="clear: both;">&nbsp;</div>
			</div>
			<!-- end page -->
			
			<div id="footer">
				<p id="legal"><strong>CrystalSky</strong> &copy; 2007. Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
				<p id="links"> <a href="#">Privacy Policy</a> | <a href="#">Terms of Use</a> | <a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional"><abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a> | <a href="http://jigsaw.w3.org/css-validator/check/referer" title="This page validates as CSS"><abbr title="Cascading Style Sheets">CSS</abbr></a></p>
			</div>
			<!-- end footer -->
		</h:body>
	</f:view>
</html>
